package com.ruoyix.flowable.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyix.common.core.domain.BaseEntity;

/**
 * 流程实例对象 bpm_process_instance
 *
 * @author ruoyi
 * @date 2023-11-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("bpm_process_instance")
public class BpmProcessInstance extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 流程实例id
     */
    @TableId(value = "process_instance_id")
    private String processInstanceId;
    /**
     * 流程定义名称
     */
    private String processInstanceName;
    /**
     * 流程定义key
     */
    private String processDefinitionKey;
    /**
     * 流程定义版本
     */
    private Long processDefinitionVersion;
    /**
     * 流程发起人ID
     */
    private String startUserId;
    /**
     * 流程发起人
     */
    private String startUserNickName;
    /**
     * 流程状态 挂起或激活
     */
    private String processInstanceState;
    /**
     * 流程关联的业务id
     */
    private String businessKey;
    /**
     * 流程启动时间
     */
    private Date startTime;
    /**
     * 当前办理人
     */
    private String currAssignee;
    /**
     * 当前办理人ID
     */
    private String currAssigneeId;
    /**
     * 流程状态
     */
    private String processInstanceStatus;

}
